package com.tomcov.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class MyJourneyPlace extends Place{
	
	private String MyJourneyName;

    public MyJourneyPlace(String token) {
        this.MyJourneyName = token;
    }

    public String getMyJourneyName() {
        return MyJourneyName;
    }


    public static class Tokenizer implements PlaceTokenizer<MyJourneyPlace> {
        @Override
        public String getToken(MyJourneyPlace place) {
            return place.getMyJourneyName();
        }

        @Override
        public MyJourneyPlace getPlace(String token) {
            return new MyJourneyPlace(token);
        }
    }

}
